package com.itbbfx.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Drugstore {
    private Integer rugstoreId;
    private String drugstoreName;
    private Integer supplierId;
    private String supplierPhone;
    private Integer skullId;

    private Integer warehouseId;
    private Integer unit;
    private double tradePrice;
    private double sellingPrice;
    private Integer area;
    private Integer type;

    private String produceDate;
    private String validDate;

    private String supplierName;
    private String warehouseName;
    private String skullName;
    private String unitName;
    private String areaName;
    private String typeName;

// 查詢起的别名 对应 type表 typeId

    private Integer typeId;
    private Integer unitId;
    private Integer areaId;


    private Integer drugstorenum;
    private String batch;

    public Drugstore(String drugstoreName) {
        this.drugstoreName = drugstoreName;
    }
}
